﻿using Domain.Entity.System_dictionary;
using Domain.Entity.System_operation;
using Domain.Entity.System_Ordermanagement;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AppService.IService.System_operation
{
    public interface IWb_meterService
    {
        int Count(string Origin_place, string Det_place, string tran_manager, string Wb_number);     //数据总数
        List<Wb_meter> GetWb_meter(int currentPage, int PageSize);    //分页查询

        List<Wb_meter> GetWb_Meters(string Origin_place, string Det_place, string tran_manager, string Wb_number, int currentPage, int PageSize);   //条件查询

        bool Delete(int Wb_id);   //删除

        List<Wb_meter> GetWb_Meters_wb_id(int Wb_id);   //根据id查询数据

        bool Update(Wb_meter wb_Meter);   //修改

        List<Sys_dict_data> Get_Dict_Datas(string Dict_label);   //根据名称查询数据字典

        List<Wb_meter> GetWb_Meters_status(string wb_status, int currentPage, int PageSize);   //根据运单状态查询

        int Count_status(string wb_status);   //根据运单状态查询数量

        bool Add_Bill_ol(Bill_ol bill_Ol);   //添加提货单

        List<Orders> GetOrders(int Ord_id);   //根据订单id订单

        bool Update_status(int Wb_id);   //修改审核状态
    }
}
